<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ext4yii xmlns:ext="http://www.w3.org/1999/xhtml" xmlns:prop="http://www.w3.org/1999/xhtml"/>
<prop:Buttons>
    <ext:Button text="Cancel" iconcls="IconCross" handler="function(){ this.getWindow().hide() }"/>
    <!--
        Setting virtualid to true will prevent this button to be
        registered as a global object
    -->
    <ext:Button iconcls="IconDisk2" virtualid="true">
        <prop:Actions>
            <ext:ClientAction onevent="click">
                <prop:Handler>
                    <script>
                        function()
                        {
                            App.Chinook.createOrUpdateStoreRecord(
                            employeeEditorForm,
                            employeeEditor,
                            employeeStore);
                        }
                    </script>
                </prop:Handler>
            </ext:ClientAction>
        </prop:Actions>
    </ext:Button>
</prop:Buttons>